#include<stdio.h>
int main()
{
	double sum=0;
	for(int i=1; i<=10; i++)
	{
		double tem=1;
		for(int j=1; j<=i; j++)
		{
			tem*=j;
		}
		sum+=1/tem;
	}
	printf("The answer is %lf\n",sum);
	return 0;
}
